package com.huiren;

import javax.swing.UIManager;

import org.apache.log4j.Logger;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class LauncherImport {
	private static Logger logger = Logger.getLogger(LauncherImport.class);

	@SuppressWarnings("resource")
	public static void main(String[] args) {

		try {
			org.jb2011.lnf.beautyeye.BeautyEyeLNFHelper.launchBeautyEyeLNF();
			UIManager.put("RootPane.setupButtonVisible", false);
		} catch (Exception e) {
			logger.error(e);
		}

		String[] contextPaths = new String[] {
				"conf/spring/application-importUI.xml",
				"conf/spring/application-common.xml",
				"conf/spring/application-service.xml",
				"conf/spring/application-webservice.xml",
				"conf/spring/application-dataSource.xml" };
		new ClassPathXmlApplicationContext(contextPaths);

	}
}
